<template>
  <div>
    <div>用户token{{ token }}</div>
    <div>设置name{{ name }}</div>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("user", ["token"]),
    ...mapState("setting", ["name"]),
  },
};
</script>

<style>
</style>